package com.smforj.ssm.modules.lib.controller.book;

import org.apache.poi.ss.formula.functions.T;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.data.domain.Page;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import com.smforj.ssm.frame.core.service.BaseService;
import com.smforj.ssm.frame.core.web.controller.BaseControllerImpl;
import com.smforj.ssm.modules.lib.domain.SysBook;
import com.smforj.ssm.modules.lib.domain.query.SysBookQuery;
import com.smforj.ssm.modules.lib.service.BookInfoService;

import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;

/****
 * 图书信息操作Controller
 * 
 * @author Haijun Gao 
 * @date 2017-8-16 上午11:14:43
 * @desp http://www.cnblogs.com/saga5998/
 * @email 573107773@qq.com
 */
@Controller
@RequestMapping("/sys/books")
public class BookController extends BaseControllerImpl<SysBook, SysBookQuery> {
	@Autowired
	@Qualifier("sysBookInfoService")
	private BookInfoService sysBookService;

	@Override
	protected BaseService<SysBook> getBaseService() {
		return sysBookService;
	}






}
